package com.mairuide.bill.importbill;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

import com.mairuide._frame.base.BaseModel;

/**
 * 银行模版匹配表
 * @author mh
 *
 */
@Entity
@Table(name="tb_template_matching")
public class TemplateMatching extends BaseModel{
	
	/**
	 * id
	 */
	@Id
	@Column(name="id")
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "template_matching")
	@SequenceGenerator(name = "template_matching", sequenceName = "SEQ_TEMPLATE_MATCHING",allocationSize=1)
	private Integer id;
	
	/**
	 * 匹配标题（以逗号分隔）
	 */
	@Column(name="matching_title")
	private String matchingTitle;
	
	/**
	 * 文件类型：excel ;txt等
	 */
	@Column(name="file_type")
	private String fileType;
	
	/**
	 * 对应执行方法
	 */
	@Column(name="methods")
	private String methods;
	
	/**
	 * 省份
	 */
	@Column(name="provinces")
	private String provinces;
	
	/**
	 * 所属银行名称
	 */
	@Column(name="belongs_bank_name")
	private String belongsBankName;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getMatchingTitle() {
		return matchingTitle;
	}

	public void setMatchingTitle(String matchingTitle) {
		this.matchingTitle = matchingTitle;
	}

	public String getFileType() {
		return fileType;
	}

	public void setFileType(String fileType) {
		this.fileType = fileType;
	}

	public String getMethods() {
		return methods;
	}

	public void setMethods(String methods) {
		this.methods = methods;
	}

	public String getProvinces() {
		return provinces;
	}

	public void setProvinces(String provinces) {
		this.provinces = provinces;
	}

	public String getBelongsBankName() {
		return belongsBankName;
	}

	public void setBelongsBankName(String belongsBankName) {
		this.belongsBankName = belongsBankName;
	}
	
	
}
